#-------------------------------------------------
#
# Project created by QtCreator 2017-10-17T15:34:34
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Marker
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += main.cpp\
        mainwindow.cpp \
    annotationimage.cpp \
    imageannotation.cpp \
    paintarea.cpp \
    status.cpp \
    utility.cpp

HEADERS  += mainwindow.h \
    annotationimage.h \
    imageannotation.h \
    paintarea.h \
    status.h \
    utility.h \
    imageannentry.h \
    imageannitem.h

FORMS    += mainwindow.ui

# windows 下编译需要将下面的取消注释，然后换成自己的opencv库所在路径
 INCLUDEPATH += D:\OpenCV\opencv\build\include
 INCLUDEPATH += D:\OpenCV\opencv\build\include\opencv
 INCLUDEPATH += D:\OpenCV\opencv\build\include\opencv2

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../OpenCV/opencv/build/x64/vc14/lib/ -lopencv_world320
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../OpenCV/opencv/build/x64/vc14/lib/ -lopencv_world320d
else:unix: LIBS += -L$$PWD/../../OpenCV/opencv/build/x64/vc14/lib/ -lopencv_world320

INCLUDEPATH += $$PWD/../../OpenCV/opencv/build/x64/vc14
DEPENDPATH += $$PWD/../../OpenCV/opencv/build/x64/vc14

 #pragma comment(lib, "strmbase.lib")
# LIBS += -LE D:\OpenCV\opencv\build\x64\vc14\lib\opencv_world320.lib

# LIBS += -LE D:\OpenCV\opencv\build\x64\vc14\lib\opencv_world320d.lib

#INCLUDEPATH += /usr/local/include
#INCLUDEPATH += /usr/local/include/opencv
#INCLUDEPATH += /usr/local/include/opencv2

#LIBS += /usr/local/lib/libopencv_*.so
RC_ICONS += M.ico

VERSION = 3.2

RESOURCES += \
    resource.qrc

